{include file="header.tpl"}

<div class="section">
<h2>Raadsels</h2>
<table>
	{foreach from=$aPuzzles item=oPuzzle}		
		<tr>
			<td>
				<a href="/puzzle/view/{$oPuzzle->getId()}">{$oPuzzle->name}</a>
				<span class="author">Geplaatst op {$oPuzzle->date|date_format:'%d-%m-%Y om %H:%M'} door {$oPuzzle->getUser()->getFullname()}</span>
			</td>
		</tr>	
	{foreachelse}
		<tr class="noresults">
			<td>
				Er zijn nog geen raadsels
			</td>
		</tr>	
	{/foreach}	
			
</table>
</div>
{include file="footer.tpl"}